package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收入统计数据模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "收入统计数据模型")
public class IncomeStatistics {
    
    @JsonProperty("dailyIncome")
    @Schema(description = "日收入", example = "125.8")
    private Double dailyIncome;
    
    @JsonProperty("monthlyIncome")
    @Schema(description = "月收入", example = "3774.0")
    private Double monthlyIncome;
    
    @JsonProperty("yearlyIncome")
    @Schema(description = "年收入", example = "45300.0")
    private Double yearlyIncome;
    
    @JsonProperty("unit")
    @Schema(description = "单位", example = "万元")
    private String unit = "万元";
}
